merge two sorted arrays with extra space

join shbcf.ru